<?php

class DunSeversModel extends \think\Model
{
    protected $table = 'dun_servers';
    protected $pk = 'id';



    public function group()
    {
        return $this->belongsTo(DunGroupsModel::class, 'groupid');
    }

    public function project()
    {
        return $this->belongsTo(DunProjectsModel::class, 'projectid');
    }
}